﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BT_DoHoa_Nhom13.ShapeLib
{
    public class MyLine : MyShape
    {
        public MyLine()
        {
            name = "Line";
        }

        public override MyShape Clone()
        {
            MyShape copy = new MyLine();
            copy.Copy(this);
            return copy;
        }

        protected override void ActualDraw(MyGraphic graphic)
        {
            graphic.DrawLine(startX, startY, endX, endY);
        }

        protected override void DrawEffect(MyGraphic graphic, List<MyEffect> effects)
        {
            
        }
        
    }
}
